/**
 * Created with JetBrains PhpStorm.
 * User: ishowshao
 * Date: 12-8-14
 * Time: 下午11:49
 */
FlyFight.view.LoginForm = Zen.extend(Zen.View, {
    el: '#login-form',
    initView: function () {
    },
    getUsername: function () {
        return this.el.find('input').val();
    },
    emptyUsername: function () {
        this.el.find('.login-form-error-msg').html('用户名不能为空');
        this.el.find('.login-form-error').modal();
    }
});
